<template>
    <div id="global_loading" style="color: white">
        <span id="loading_dot1">●</span>
        <span id="loading_dot2">●</span>
        <span id="loading_dot3">●</span>
    </div>
    <router-view/>
</template>

<style>
    #app {
        font-family: Avenir, Helvetica, Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-align: center;
        color: #2c3e50;
    }

    #nav {
        padding: 30px;
    }

    #nav a {
        font-weight: bold;
        color: #2c3e50;
    }

    #nav a.router-link-exact-active {
        color: #42b983;
    }

    #loading_dot1 {
        height: 200px;
        position: relative;
        animation: dot1 2s infinite;
        -webkit-animation: dot1 2s infinite; /*Safari and Chrome*/
        -moz-animation: dot1 2s infinite;
    }

    #loading_dot2 {
        height: 200px;
        position: relative;
        animation: dot2 2s infinite;
        -webkit-animation: dot2 2s infinite; /*Safari and Chrome*/
        -moz-animation: dot1 2s infinite;
    }

    #loading_dot3 {
        height: 200px;
        position: relative;
        animation: dot3 2s infinite;
        -webkit-animation: dot3 2s infinite; /*Safari and Chrome*/
        -moz-animation: dot1 2s infinite;
    }


    #global_loading {
        padding-top: 18%;
        position: fixed;
        font-size: 20px;
        visibility: hidden;
        width: 100%;
        height: 100%;
        text-align: center;
        z-index: 9999;
    }

    @keyframes dot1 {
        0% {
            color: deepskyblue;
        }
        33.3% {
            color: white;
        }
        66.6% {
            color: #44C6EB;
        }
        100% {
            color: deepskyblue;
        }
    }

    @-webkit-keyframes dot1 /*Safari and Chrome*/
    {
        0% {
            color: deepskyblue;
        }
        33.3% {
            color: white;
        }
        66.6% {
            color: #44C6EB;
        }
        100% {
            color: deepskyblue;
        }
    }

    @-moz-keyframes dot1 {
        0% {
            color: deepskyblue;
        }
        33.3% {
            color: white;
        }
        66.6% {
            color: #44C6EB;
        }
        100% {
            color: deepskyblue;
        }
    }

    @keyframes dot2 {
        0% {
            color: #44C6EB;
        }
        33.3% {
            color: deepskyblue;
        }
        66.6% {
            color: white;
        }
        100% {
            color: #44C6EB;
        }
    }

    @-webkit-keyframes dot2 /*Safari and Chrome*/
    {
        0% {
            color: #44C6EB;
        }
        33.3% {
            color: deepskyblue;
        }
        66.6% {
            color: white;
        }
        100% {
            color: #44C6EB;
        }
    }

    @-moz-keyframes dot2 {
        0% {
            color: #44C6EB;
        }
        33.3% {
            color: deepskyblue;
        }
        66.6% {
            color: white;
        }
        100% {
            color: #44C6EB;
        }
    }

    @keyframes dot3 {
        0% {
            color: white;
        }
        33.3% {
            color: #44C6EB;
        }
        66.6% {
            color: deepskyblue;
        }
        100% {
            color: white;
        }
    }

    @-webkit-keyframes dot3 /*Safari and Chrome*/
    {
        0% {
            color: white;
        }
        33.3% {
            color: #44C6EB;
        }
        66.6% {
            color: deepskyblue;
        }
        100% {
            color: white;
        }
    }

    @-moz-keyframes dot3 {
        0% {
            color: white;
        }
        33.3% {
            color: #44C6EB;
        }
        66.6% {
            color: deepskyblue;
        }
        100% {
            color: white;
        }
    }
</style>
